import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { SmsService } from './sms.service';
import { RedisModule } from '../redis/redis.module';
import { SmsCode } from './entities/sms-code.entity';

@Module({
  imports: [
    TypeOrmModule.forFeature([SmsCode]),
    RedisModule
  ],
  providers: [SmsService],
  exports: [SmsService],
})
export class SmsModule {}
